package com.ccc.hotsearch.model;

/**
 * 平台
 */
public enum PlatformTypeEnum {
    WEIBO("微博", "weibo", "#ff8200"),
    BAIDU("百度", "baidu", "#2932e1"),
    ZHIHU("知乎", "zhihu", "#0084ff"),
    TOUTIAO("头条", "toutiao", "#f85959"),
    DOUYIN("抖音", "douyin", "#000000");

    private final String name;
    private final String code;
    private final String color;

    PlatformTypeEnum(String name, String code, String color) {
        this.name = name;
        this.code = code;
        this.color = color;
    }

    public String getName() {
        return name;
    }

    public String getCode() {
        return code;
    }

    public String getColor() {
        return color;
    }
}
